package br.com.ultimate.components;

import java.util.Properties;

import com.jtattoo.plaf.acryl.AcrylLookAndFeel;

public class LookAndFeel {

	public static void setLookAndFeel() {
		/*
		 * Para ver as propriedades deste LookAndFeel veja
		 * http://www.jtattoo.net/ThemeProps.html
		 */
		Properties prop = new Properties();
		prop.put("menuOpaque", "off");
		prop.put("logoString", "");
		prop.put("menuBackgroundColor", "239 234 238");
		prop.put("tooltipCastShadow", "on");
		prop.put("tooltipShadowSize", "2");
		prop.put("menuSelectionBackgroundColor", "140 140 140");
		prop.put("backgroundColor", "230 230 230");
		
		AcrylLookAndFeel.setCurrentTheme(prop);
		
		try {
			javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.acryl.AcrylLookAndFeel");
		} catch (Exception e) {
			
		}
	}
	
	public static void setNimbusLookAndFeel() {
		try {
			javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch (Exception e) {
			
		}
	}
	
}
